package sigeco.view.menu;

import java.util.List;
import oracle.adf.view.faces.component.core.nav.CoreCommandMenuItem;

public class MenuItem {
    private String _label = null;
    private String _outcome = null;
    private String _viewId = null;
    private String _destination = null;
    private String _icon = null;
    private String _type = CoreCommandMenuItem.TYPE_DEFAULT;
    private List _children = null;
    
    private boolean _readOnly = false;
    private boolean _shown = true;

    public void setOutcome(String outcome) {
        this._outcome = outcome;
    }

    public String getOutcome() {
        return _outcome;
    }

    public void setViewId(String viewId) {
        this._viewId = viewId;
    }

    public String getViewId() {
        return _viewId;
    }

    public void setDestination(String destination) {
        this._destination = destination;
    }

    public String getDestination() {
        return _destination;
    }

    public void setIcon(String icon) {
        this._icon = icon;
    }

    public String getIcon() {
        return _icon;
    }

    public void setType(String type) {
        this._type = type;
    }

    public String getType() {
        return _type;
    }

    public void setChildren(List children) {
        this._children = children;
    }

    public List getChildren() {
        return _children;
    }

    public void setReadOnly(boolean readOnly) {
        this._readOnly = readOnly;
    }

    public boolean isReadOnly() {
        return _readOnly;
    }

    public void setShown(boolean shown) {
        this._shown = shown;
    }

    public boolean isShown() {
        return _shown;
    }

    public void setLabel(String label) {
        this._label = label;
    }

    public String getLabel() {
        return _label;
    }
}
